package com.wanmait.recruitment.pojo;

import java.io.Serializable;
import java.util.Date;

public class City implements Serializable {
    private Integer id;

    /**
	* 城市名
	*/
    private String cityName;

    /**
	* 邮政编码
	*/
    private String zipCode;

    private Province province;

    /**
	* 添加时间
	*/
    private Date dateCreated;

    /**
	* 更新时间
	*/
    private Date dateUpdated;
    /**
     * 热门城市
     */
    private Boolean hot;
    //推荐城市
    private  Boolean top;

    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getZipCode() {
        return zipCode;
    }

    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }

    public Province getProvince() {
        return province;
    }

    public void setProvince(Province province) {
        this.province = province;
    }

    public Date getDateCreated() {
        return dateCreated;
    }

    public void setDateCreated(Date dateCreated) {
        this.dateCreated = dateCreated;
    }

    public Date getDateUpdated() {
        return dateUpdated;
    }

    public void setDateUpdated(Date dateUpdated) {
        this.dateUpdated = dateUpdated;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public Boolean getHot() {
        return hot;
    }

    public void setHot(Boolean hot) {
        this.hot = hot;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Boolean getTop() {
        return top;
    }

    public void setTop(Boolean top) {
        this.top = top;
    }

    @Override
    public String toString() {
        return "City{" +
                "id=" + id +
                ", cityName='" + cityName + '\'' +
                ", zipCode='" + zipCode + '\'' +
                ", province=" + province +
                ", dateCreated=" + dateCreated +
                ", dateUpdated=" + dateUpdated +
                ", hot=" + hot +
                ", top=" + top +
                ", enable=" + enable +
                '}';
    }
}